package com.education.wisdom.service;


import com.education.wisdom.pojo.Answers;
import com.education.wisdom.pojo.SysAppLogin;

import java.util.List;
import java.util.Map;

/**
 * 答卷 服务层
 * 
 * @author ruoyi
 * @date 2018-11-13
 */
public interface IAnswersService 
{
	/**
     * 查询答卷信息
     * 
     * @param djId 答卷ID
     * @return 答卷信息
     */
	public Answers selectAnswersById(String djId);

	
	/**
     * 查询答卷列表
     * 
     * @param answers 答卷信息
     * @return 答卷集合
     */
	public List<Answers> selectAnswersList(Answers answers);

	public List<Answers> selectAnswersList1(Answers answers);
	
	/**
     * 新增答卷
     * 
     * @param answers 答卷信息
     * @return 结果
     */
	public int insertAnswers(Answers answers);
	
	/**
     * 修改答卷
     * 
     * @param answers 答卷信息
     * @return 结果
     */
	public int updateAnswers(Answers answers);
		
	/**
     * 删除答卷信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteAnswersByIds(String ids);

	public List<Answers> selectAnswersListById(Map<String, Object> map);

	public List<SysAppLogin> selectAnswersUsers(Integer djPaperid);

	Answers selectByPaperId(Map<String, Object> map);
	List<Answers> selectByPaperId3(Map<String, Object> map);
	List<Answers> selectByPaperId1(Integer djPaperid);
	List<Answers> selectByPaperId2(Answers answers);

	String[] selectByIds(String[] split);
}
